package com.zxf.field_method07;

public class BookTest {
    public static void main(String[] args) {
        Book book = new Book();

        String info =book.getBookInfo();

        System.out.println(info);



        String bookNameSetBefore =book.getBookName();
        System.out.println("------------------------");
        System.out.println(bookNameSetBefore);

        book.setBookName("将进酒");

        String bookNameSetAfter=book.getBookName();
        System.out.println(bookNameSetAfter);
        System.out.println("-------------------------");
        book.setPrice(100);
        book.setAuthor("唐酒卿");
        book.setPublisher("新华出版社");

        System.out.println(book.getBookInfo());
    }
}
